package com.community.web.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.model.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.community.web.user.vo.NoticeVo;

/**
* @author admin
* @description 针对表【notice】的数据库操作Service
* @createDate 2024-07-02 10:56:56
*/
public interface NoticeService extends IService<Notice> {

    IPage<NoticeVo> pageList(Long userId, Page<NoticeVo> page);

    Notice getNoticeDetail(long id, Long userId);
}
